//
//  marqueeView.h
//  testTableVIew
//
//  Created by dukai on 16/10/8.
//  Copyright © 2016年 DR. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^marqueeViewBlock)(NSInteger index);

@interface marqueeView : UIView<UITableViewDataSource,UITableViewDelegate>

@property (strong, nonatomic)UITableView *tableView;
@property (strong,nonatomic) NSArray *dataArray;
@property (assign,nonatomic) int interval;
@property (assign,nonatomic) float fontSize;
@property (strong,nonatomic) UIColor *textColor;
@property (assign,nonatomic) int count;
@property (strong,nonatomic) marqueeViewBlock block;
@property (strong,nonatomic) marqueeViewBlock blockScrollIndex;
@property (nonatomic,assign) NSInteger indexstr;
-(void)start:(marqueeViewBlock)block;
-(void)scrollViewIndex:(marqueeViewBlock)block;
@end
